package com.zc.im.service.im.group;

import com.zc.im.model.im.group.ZcImGroupLogModel;
import com.zc.im.model.im.group.ZcImGroupLog;

import java.util.List;

/**
 * 日志接口
 * Created by wangcc on 2017/7/8.
 */
public interface ImGroupLogService {

    //添加日志
     Integer insertGroupLog(ZcImGroupLog zcImGroupLog);

    //删除日志
     Integer deleteGroupLog(Integer id);

    //更新日志
     Integer updateGroupLog(ZcImGroupLog zcImGroupLog);

    //通过id 查询日志
    List<ZcImGroupLog> queryIdGroupLog(ZcImGroupLog groupLog);

    //通过groupid查询日志
    List<ZcImGroupLog> queryGroupIdGroupLog(ZcImGroupLog groupLog);

    //业务添加日志逻辑
    Integer saveGroupLog(ZcImGroupLog zcImGroupLog);

    //通过群id 和管理员id 查询日志
    List<ZcImGroupLog> queryGroupLog(Integer Id,Integer GroupId);

    //通过日志id查询评分，评论人，评论内容，用户头像， 评论人头像，名称
    List<ZcImGroupLogModel> queyGroupLogSocreMark(Integer logId);

    //通过周月年检索出日志
    List<ZcImGroupLog> queryTimeGroupId(Integer id,Integer groupId,String startTime ,String endTime);
}
